@charset "utf-8";
$colcr:#C01734;
.wrap {
    header {
        .header-wrap {
            position: relative;
            .side-nav {
                width: 234px;
                height: 460px;
                background-color: rgba(0, 0, 0, .6);
                position: absolute;
                top: 150px;
                left: 0;
                z-index: 999;
                ul {
                    position: relative;
                    li {
                        .side-nav-a {
                            display: block;
                            padding-left: 30px;
                            height: 51px;
                            line-height: 51px;
                            font-size: 14px;
                            color: white;
                        }
                        &:hover {
                            background-color: $colcr;
                        }
                        &:hover .li-chlid-list {
                            display: block;
                        }
                        &:hover .li-chlid-hotsale {
                            display: block;
                        }
                        .li-chlid-list {
                            width: 490px;
                            height: 453px;
                            display: none;
                            position: absolute;
                            top: 0;
                            left: 234px;
                            background-color: white;
                            box-shadow: 0 8px 16px rgba(0, 0, 0, .3);
                            overflow-x: auto;
                            overflow-y: hidden;
                            padding: 10px 20px 0;
                            z-index: 1;
                            >div {
                                border-bottom: 1px solid $colcr;
                                padding: 10px 0;
                                p {
                                    margin: 0;
                                    a {
                                        padding: 0;
                                        font-size: 16px;
                                        color: #333333;
                                    }
                                }
                            }
                            ul {
                                li {
                                    float: left;
                                    width: 225px;
                                    height: 40px;
                                    line-height: none;
                                    margin-top: 10px;
                                    a {
                                        padding: 0;
                                        img {
                                            width: 40px;
                                            height: 40px;
                                            vertical-align: middle;
                                        }
                                        span {
                                            font-size: 14px;
                                            color: #333333;
                                            vertical-align: middle;
                                        }
                                    }
                                    &:hover {
                                        background-color: transparent
                                    }
                                }
                            }
                        }
                        .li-chlid-hotsale {
                            width: 230px;
                            height: 453px;
                            padding: 0 0 0 5px;
                            background-color: #f5f5f5;
                            position: absolute;
                            top: 0;
                            left: 724px;
                            overflow: hidden;
                            display: none;
                            a {
                                vertical-align: top;
                                display: block;
                                width: 220px;
                                height: 215px;
                                font-size: 0;
                                margin-top: 10px;
                                img {
                                    width: 100%;
                                    height: 100%;
                                }
                                &:first-child {
                                    margin-top: 5px;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    //kv
    .lunbo {
        width: 100%;
        height: 460px;
        overflow: hidden;
        position: relative;
        .all-tu {
            width: 999999px;
            .lunbo-tu {
                float: left;
                width: 100%;
                height: 460px;
                overflow: hidden;
                img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .btn {
            font-size: 50px;
            color: $colcr;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 999;
            cursor: pointer;
            width: 35px;
            height: 50px;
            line-height: 50px;
        }
        .preb-btn {
            left: 10px;
        }
        .next-btn {
            right: 10px;
        }
    }
    //感兴趣区域
    .interest-wrap {
        width: 1230px;
        margin: 15px auto 26px;
        .tian-wrap {
            width: 234px;
            .tian {
                width: 117px;
                height: 82px;
                background-color: #5F5750;
                position: relative;
                padding: 0 3px;
                a {
                    display: block;
                    padding-top: 18px;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    overflow: hidden;
                    color: #e0e0e0;
                    .tian-img {
                        height: 24px;
                        text-align: center;
                        margin-bottom: 4px;
                        img {
                            height: 100%;
                        }
                    }
                    p {
                        margin: 0;
                        text-align: center;
                        font-size: 12px;
                    }
                    &:hover {
                        color: white;
                    }
                }
            }
            .teambuy::before {
                content: "";
                position: absolute;
                top: 6px;
                right: 0;
                width: 1px;
                height: 70px;
                background-color: rgba(0, 0, 0, .1);
                //background-color: #665e57;
            }
            .download::before {
                content: "";
                position: absolute;
                bottom: 0;
                left: 7px;
                width: 103px;
                height: 1px;
                background-color: rgba(0, 0, 0, .1);
            }
            .serve::before {
                content: "";
                position: absolute;
                top: 0;
                left: 7px;
                width: 103px;
                height: 1px;
                background-color: rgba(0, 0, 0, .1);
            }
            .aftersale::before {
                content: "";
                position: absolute;
                top: 6px;
                left: 0;
                width: 1px;
                height: 70px;
                background-color: rgba(0, 0, 0, .1);
            }
        }
        //
        .interest-recommend {
            margin-left: 14px;
            .recommend {
                width: 316px;
                height: 170px;
                transition: all .3s linear;
                img {
                    width: 100%;
                }
                &:nth-of-type(2) {
                    margin-left: 14px;
                }
                &:hover {
                    transform: translateY(-5px);
                    box-shadow: 5px 5px 10px rgba(238, 238, 238, 1);
                }
            }
        }
        //
        .news-wrap {
            width: 318px;
            height: 170px;
            border: 1px solid #D2D2D2;
            overflow: hidden;
            padding: 15px;
            font-size: 12px;
            margin-left: 14px;
            p {
                span {
                    font-size: 16px;
                    line-height: 16px;
                    color: #b60005;
                    float: left;
                    margin-left: 5px;
                    margin-bottom: 6px;
                }
            }
            a {
                color: #8c8c8c;
                &:hover {
                    color: $colcr;
                }
            }
            ul {
                li {
                    font-size: 12px;
                    line-height: 24px;
                    span {
                        color: #b60005;
                    }
                    a {
                        white-space: nowrap;
                    }
                }
            }
        }
    }
    //热卖单品推荐
    .hot-wrap {
        width: 1230px;
        margin: 0 auto 40px;
        position: relative;
        .hot-title {
            height: 58px;
            h2 {
                margin: 0;
                height: 58px;
                font-size: 22px;
                font-weight: 200;
                line-height: 58px;
                color: #333333;
                /*************************************/
            }
            .more {
                position: absolute;
                top: 18px;
                right: 0;
                font-size: 0;
                button {
                    width: 34px;
                    height: 22px;
                    border: 1px solid #e0e0e0;
                    font-size: 16px;
                    line-height: 22px;
                    color: #E0E0E0;
                    background-color: transparent;
                    outline: none;
                    &:hover {
                        color: $colcr;
                    }
                }
            }
        }
        .hidden-box {
            width: 100%;
            height: 299px;
            overflow: hidden;
            .hot-pro {
                .product {
                    width: 232px;
                    height: 299px;
                    padding-top: 39px;
                    text-align: center;
                    background-color: white;
                    border: 1px solid #F5F5F5;
                    margin-right: 14px;
                    float: left;
                    transition: all .3s linear;
                    a {
                        color: #8C8C8C;
                    }
                    .pro-a {
                        display: block;
                        width: 160px;
                        margin: 0 auto 22px;
                        img {
                            width: 100%;
                        }
                    }
                    h3 {
                        margin: 0 20px 3px;
                        font-size: 14px;
                        font-weight: 400;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        overflow: hidden;
                        a {
                            color: #212121;
                        }
                    }
                    .desc {
                        height: 18px;
                        margin: 0 20px 12px;
                        font-size: 12px;
                        color: #B0B0B0;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        overflow: hidden;
                    }
                    &:hover {
                        box-shadow: 0px 0px 20px rgba(0, 0, 0, .2);
                    }
                }
                .pro-1 {
                    border-top-color: #ffac13;
                }
            }
        }
    }
    //主要产品内容---------------------section-------------------------
    section {
        width: 100%;
        background-color: #F5F5F5;
        padding-top: 60px;
        padding-bottom: 73px;
        .main-wrap {
            width: 1230px;
            margin: 0 auto;
            .main-box {
                width: 100%;
                height: 686px;
                margin-bottom: 8px;
                .title {
                    width: 100%;
                    height: 58px;
                    position: relative;
                    h2 {
                        margin: 0;
                        height: 58px;
                        font-size: 22px;
                        font-weight: 200;
                        line-height: 58px;
                        color: #333333;
                    }
                    .prefecture-nav {
                        height: 58px;
                        position: absolute;
                        top: 0;
                        right: 0;
                        >a {
                            font-size: 14px;
                            line-height: 58px;
                            margin-left: 14px;
                            color: #333333;
                            &:hover{
                                color: $colcr;
                            }
                        }
                        ul {
                            position: relative;
                            li {
                                float: left;
                                font-size: 14px;
                                margin: 0 15px;
                                color: #333333;
                                cursor: pointer;
                                .classify-title {
                                    line-height: 58px;
                                    position: relative;
                                    &::after {
                                        content: "";
                                        position: absolute;
                                        left: 0;
                                        bottom: 14px;
                                        width: 100%;
                                        height: 3px;
                                        background-color: $colcr;
                                        opacity: 0;
                                        transition: all .5s linear;
                                    }
                                }
                                &:hover{
                                    color: $colcr;
                                }
                                &:hover .pro-list {
                                    display: block;
                                }
                                &:hover .classify-title::after {
                                    opacity: 1;
                                }
                                &.active .classify-title::after {
                                    opacity: 1;
                                }
                            }
                        }
                    }
                }
                .big-img {
                    width: 480px;
                    height: 614px;
                    img {
                        width: 100%;
                    }
                    .big-img1 {
                        width: 480px;
                        height: 300px;
                        margin-bottom: 14px;
                        font-size: 0;
                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }
                }
                .pro-list {
                    width: 744px;
                    height: 614px;
                    background-color: transparent;
                    //display: none;
                    .list-item {
                        width: 234px;
                        height: 300px;
                        margin-left: 14px;
                        margin-bottom: 14px;
                        background-color: white;
                        padding: 20px 0;
                        transition: all .3s linear;
                        position: relative;
                        overflow: hidden;
                        .item-img {
                            width: 160px;
                            height: 160px;
                            margin: 0 auto 14px;
                            img {
                                width: 100%;
                            }
                        }
                        h3 {
                            margin: 0 10px 3px;
                            font-size: 14px;
                            font-weight: 400;
                            text-align: center;
                            color: #8c8c8c;
                        }
                        .desc {
                            margin: 0 10px 10px;
                            height: 18px;
                            font-size: 12px;
                            text-align: center;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            overflow: hidden;
                            color: #b0b0b0;
                        }
                        .price {
                            margin: 0 10px 5px;
                            text-align: center;
                            color: #B9000F;
                        }
                        .rank {
                            margin: 0 10px;
                            font-size: 12px;
                            text-align: center;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            overflow: hidden;
                            color: #b0b0b0;
                        }
                        &:hover {
                            box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
                        }
                        &:hover .evaluate {
                            height: 82px;
                            opacity: 1;
                        }
                        .evaluate {
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            width: 100%;
                            height: 0;
                            opacity: 0;
                            background-color: $colcr;
                            padding-left: 30px;
                            padding-top: 10px;
                            transition: all .2s linear;
                            p {
                                text-align: left;
                                margin: 0;
                                line-height: 24px;
                                &:first-child {
                                    font-size: 12px;
                                    color: white;
                                }
                                &:last-child {
                                    font-size: 12px;
                                    color: lightgray;
                                    span {
                                        padding: 0 3px;
                                    }
                                }
                            }
                        }
                    }
                }
            }
            .pro-box {
                width: 100%;
                overflow: hidden;
                .pro-content {
                    width: 234px;
                    padding-top: 39px;
                    border: 1px solid #f5f5f5;
                    text-align: center;
                    background-color: white;
                    margin-right: 14px;
                    transition: all .2s linear;
                    &:hover {
                        box-shadow: 0 0 10px rgba(0, 0, 0, .2);
                    }
                    &:last-child {
                        margin-right: 0;
                    }
                    .content-img {
                        width: 160px;
                        height: 160px;
                        margin: 0 auto;
                        img {
                            width: 100%;
                        }
                    }
                    .pro-name {
                        margin: 20px 0 0;
                        font-size: 14px;
                        color: #212121;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }
                    .pro-describe {
                        margin: 0;
                        padding: 10px;
                        font-size: 14px;
                        color: #8C8C8C;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                    }
                    .pro-price {
                        font-size: 14px;
                        color: $colcr;
                        padding: 10px 0;
                    }
                }
            }
            .hot-rank {
                width: 100%;
                .hot-rank-box {
                    width: 100%;
                    .hot-rank-content {
                        width: 296px;
                        height: 380px;
                        padding-top: 39px;
                        border: 1px solid #f5f5f5;
                        text-align: center;
                        background-color: white;
                        margin-right: 14px;
                        margin-bottom: 14px;
                        transition: all .2s linear;
                        &:hover{
                            box-shadow: 0 8px 30px rgba(0,0,0,.1);
                        }
                        .hot-img {
                            width: 200px;
                            height: 200px;
                            margin: 0 auto;
                            img {
                                width: 100%;
                            }
                        }
                        .pro-remark {
                            margin: 0 30px 5px;
                            a {
                                font-size: 14px;
                                font-weight: 400;
                                color: #333333;
                            }
                        }
                        .remark-person {
                            margin: 0 30px 15px;
                            padding: 0 10px 0 0;
                            font-size: 12px;
                            color: #B0B0B0;
                        }
                        .info {
                            margin: 0 30px;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            overflow: hidden;
                            .pro-name {
                                margin: 0;
                                display: inline-block;
                                max-width: 146px;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                overflow: hidden;
                                vertical-align: bottom;
                                a {
                                    font-size: 14px;
                                    font-weight: 400;
                                    color: #333333;
                                }
                            }
                            span {
                                display: inline-block;
                                color: #E0E0E0;
                            }
                            .price {
                                display: inline-block;
                                color: $colcr;
                            }
                        }
                        &:last-child {
                            margin-right: 0;
                        }
                    }
                }
            }
            .video-wrap {
                width: 100%;
                margin-top: 20px;
                .video-title {
                    width: 100%;
                    height: 58px;
                    .title {
                        margin: 0;
                        display: inline-block;
                        line-height: 58px;
                        font-size: 22px;
                        font-weight: 200;
                        color: #333333;
                    }
                    .check-more {
                        margin: 0;
                        display: inline-block;
                        line-height: 58px;
                        font-size: 14px;
                        a {
                            color: #333333;
                        }
                    }
                }
                .video-box {
                    width: 296px;
                    height: 285px;
                    margin-right: 14px;
                    background-color: white;
                    transition: box-shadow .2s linear;
                    .video-img {
                        width: 296px;
                        height: 180px;
                        margin: 0 0 28px;
                        cursor: pointer;
                        position: relative;
                        img {
                            width: 100%;
                            height: 100%;
                        }
                        .play-box {
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            transform: translate(-50%, -50%);
                            width: 54px;
                            height: 34px;
                            border: 2px solid white;
                            border-radius: 6px;
                            background-color: rgba(0, 0, 0, .6);
                            transition: all .1s linear;
                            &::before {
                                content: "";
                                position: absolute;
                                top: 50%;
                                left: 50%;
                                transform: translate(-50%, -50%);
                                width: 0;
                                height: 0;
                                border-top: 8px solid transparent;
                                border-bottom: 8px solid transparent;
                                border-left: 8px solid white;
                                border-radius: 3px;
                            }
                        }
                    }
                    .video-name {
                        margin: 0 0 6px;
                        font-size: 14px;
                        font-weight: 400;
                        text-align: center;
                        a {
                            color: #8c8c8c;
                            &:hover {
                                color: $colcr;
                            }
                        }
                    }
                    .video-describe {
                        margin: 0;
                        font-size: 12px;
                        color: #b0b0b0;
                        text-align: center;
                    }
                    &:last-child {
                        margin-right: 0;
                    }
                    &:hover {
                        box-shadow: 1px 5px 30px rgba(0, 0, 0, .2);
                    }
                    &:hover .video-img .play-box {
                        background-color: $colcr;
                        border-color: $colcr;
                    }
                }
            }
        }
    }
    //底部横幅
    .foot-banner {
        width: 100%;
        img {
            width: 100%;
        }
    }
}

//public
.pro-title {
    width: 100%;
    height: 58px;
    h6 {
        margin: 0;
        font-size: 22px;
        font-weight: 200;
        line-height: 58px;
        color: #333333;
        display: inline-block;
    }
    .page-btn {
        display: inline-block;
        margin-top: 14px;
        font-size: 0;
        button {
            width: 44px;
            height: 30px;
            font-size: 14px;
            line-height: 16px;
            border: 1px solid #E0E0E0;
            color: #E0E0E0;
            background-color: transparent;
            outline: none;
        }
    }
}